﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.Entitys.WMS.Entity;

/// <summary>
/// 盘点任务子表实体.
/// </summary>
[SugarTable("wms_busi_check_det", "盘点任务子表")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBusiCheckDetEntity:CLDEntityBase
{
    /// <summary>
    /// 主表id.
    /// </summary>
    [SugarColumn(ColumnName = "F_MstrId", ColumnDescription = "主表id")]
    public string MstrId { get; set; }

    /// <summary>
    /// 主表单号.
    /// </summary>
    [SugarColumn(ColumnName = "F_No", ColumnDescription = "主表单号")]
    public string No { get; set; }

    /// <summary>
    /// 标签.
    /// </summary>
    [SugarColumn(ColumnName = "F_Barcode", ColumnDescription = "标签")]
    public string Barcode { get; set; }

    /// <summary>
    /// 物料id.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialId", ColumnDescription = "物料id")]
    public string MaterialId { get; set; }

    /// <summary>
    /// 物料code.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialCode", ColumnDescription = "物料code")]
    public string MaterialCode { get; set; }

    /// <summary>
    /// 物料名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialName", ColumnDescription = "物料名称")]
    public string MaterialName { get; set; }

    /// <summary>
    /// Site.
    /// </summary>
    [SugarColumn(ColumnName = "F_Site", ColumnDescription = "Site")]
    public string Site { get; set; }

    /// <summary>
    /// 数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_Qty", ColumnDescription = "数量")]
    public decimal Qty { get; set; }

    /// <summary>
    /// 库位id.
    /// </summary>
    [SugarColumn(ColumnName = "F_LocationId", ColumnDescription = "库位id")]
    public string LocationId { get; set; }

    /// <summary>
    /// 库位code.
    /// </summary>
    [SugarColumn(ColumnName = "F_LocationCode", ColumnDescription = "库位code")]
    public string LocationCode { get; set; }

    /// <summary>
    /// 库位名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_LocationName", ColumnDescription = "库位名称")]
    public string LocationName { get; set; }

    /// <summary>
    /// 批次号.
    /// </summary>
    [SugarColumn(ColumnName = "F_BatchNo", ColumnDescription = "批次号")]
    public string BatchNo { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    [SugarColumn(ColumnName = "F_EnabledMark", ColumnDescription = "有效标志0无效 1有效")]
    public int? EnabledMark { get; set; }

    /// <summary>
    /// 删除标志1删除.
    /// </summary>
    [SugarColumn(ColumnName = "F_DeleteMark", ColumnDescription = "删除标志1删除")]
    public int? DeleteMark { get; set; }

}

